﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;

namespace FYPHP
{
    public partial class SearchStaff : System.Web.UI.Page
    {
        SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["fyphp"].ConnectionString);
   

        protected void Page_Load(object sender, EventArgs e)
        {

        

        }

        protected void StaffSearch_Click(object sender, EventArgs e)
        {
            String IC = txtIC.Text;
            String Name = txtName.Text;

            Session["IC"] = IC;
            Session["Name"] = Name;

            Response.Redirect("SearchStaffPage2.aspx");
          
        }

       


    }
}